const num =45; //十进制 
console.log(num.toString(16),typeof num.toString(2),parseInt(num.toString(2)),
Number(num.toString(2)),+num.toString(2));